package businesslogicservice;

import java.util.ArrayList;

import vo.ChooseCourseVO;
import vo.StudentVO;
import vo.TeacherVO;
import vo.UserVO;

public interface UserBLService {

	ResultMessage register(long id, String password1, String password2);

	double getGPA(ChooseCourseVO vo);

	StudentVO getStudentInfo(long studentID);

	ArrayList<StudentVO> getStudentList(long departmentID);

	TeacherVO getTeacherInfo(long teacherID);

	ArrayList<TeacherVO> getTeacherList(long departmentID);

	UserVO getUser(long userID);

	UserVO modifyUser(UserVO vo);

	ResultMessage addUser(UserVO vo);

	ResultMessage deleteUser(UserVO vo);

	ResultMessage changePassword(String oldPassword, String password1,
			String password2);

	ResultMessage login(long id, String password);

}
